home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / pluginy Firefox / 8206 / 8206.xpi / content / rss / rss.data.js < prev    next >
Text File  |  2010-02-02  |  1KB  |  55 lines

  1. WiseStampRSSData.prototype = new Object();
  2. WiseStampRSSData.prototype.addItem = WiseStampRSSData_addItem;
  3. WiseStampRSSData.prototype.getItems = WiseStampRSSData_getItems;
  4. WiseStampRSSData.prototype.getTitle = WiseStampRSSData_getTitle;
  5. WiseStampRSSData.prototype.getLink = WiseStampRSSData_getLink;
  6. WiseStampRSSData.prototype.getDescription = WiseStampRSSData_getDescription;
  7. WiseStampRSSData.prototype.setItems = WiseStampRSSData_setItems;
  8. WiseStampRSSData.prototype.setTitle = WiseStampRSSData_setTitle;
  9. WiseStampRSSData.prototype.setLink = WiseStampRSSData_setLink;
  10. WiseStampRSSData.prototype.setDescription = WiseStampRSSData_setDescription;
  11.  
  12. function WiseStampRSSData() {
  13.   this.title = null;
  14.   this.link = null;
  15.   this.description = null;
  16.  
  17.   this.setItems([]);
  18. }
  19.  
  20. function WiseStampRSSData_addItem(item) {
  21.   this._items.push(item);
  22. }
  23.  
  24. function WiseStampRSSData_getItems() {
  25.   return this._items;
  26. }
  27.  
  28. function WiseStampRSSData_getTitle() {
  29.   return this.title;
  30. }
  31.  
  32. function WiseStampRSSData_getLink() {
  33.   return this.link;
  34. }
  35.  
  36. function WiseStampRSSData_getDescription() {
  37.   return this.description;
  38. }
  39.  
  40. function WiseStampRSSData_setItems(items) {
  41.   this._items = items;
  42. }
  43.  
  44. function WiseStampRSSData_setTitle(title) {
  45.   this.title = title;
  46. }
  47.  
  48. function WiseStampRSSData_setLink(link) {
  49.   this.link = link;
  50. }
  51.  
  52. function WiseStampRSSData_setDescription(description) {
  53.   this.description = description;
  54. }
  55.